// 格式化日期
export const formatDate = (dateString: string | number | Date) => {
  const options = {
    year: 'numeric',
    month: 'long',
    day: 'numeric',
    hour: '2-digit',
    minute: '2-digit',
  };
  return new Date(dateString).toLocaleDateString('zh-CN', options);
};